/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Testes;



import controllers.DatabaseController;
import java.util.ArrayList;
import java.util.Scanner;
import listcontrol.ControlThread;
import listcontrol.CounterThread;
import listcontrol.LocalFileList;
import listcontrol.RemoteFileList;
import listcontrol.WatchThread;
import network.ListRequestListener;

/**
 *
 * @author gravena
 */
public class Main {
    
    public static void main(String args[]) {
        
        final DatabaseController dbController = new DatabaseController();
        
        new Thread(new ControlThread(dbController)).start();        
        new Thread(new CounterThread(dbController)).start();
        new Thread(new ListRequestListener(dbController)).start();
        new Thread(new WatchThread(dbController)).start();
        
        Scanner in = new Scanner(System.in);
        
        //list.setVersion(in.nextLong());
        
    }
}
